﻿@model FollowUpNetwork.Models.ChangePasswordViewModel
@{
    ViewBag.Title = "更改密码";
}

<h2>@ViewBag.Title.</h2>

<link href="~/Content/ChangePassword.css" rel="stylesheet" />

@using (Html.BeginForm("ChangePassword", "Manage", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
{
    @Html.AntiForgeryToken()
    <hr />

    <div class="col-md-3">
        <ul class="nav nav-pills nav-stacked">
            <li class="active"><a id="change-password" href="~/Manage/ChangePassword">修改密码</a></li>
            <li class="active"><a id="personal-data" href="~/Manage/personaldata">个人资料</a></li>
        </ul>

    </div>
    <div class="div1">
        <h3 class="col-lg-offset-5">更改密码</h3>
        @Html.ValidationSummary("", new { @class = "text-danger" })
        <div class="form-group">
            @Html.LabelFor(m => m.OldPassword, new { @class = "col-md-4 control-label" })
            <div class="col-md-8">
                @Html.PasswordFor(m => m.OldPassword, new { @class = "form-control" })
            </div>
        </div>
        <div class="form-group">
            @Html.LabelFor(m => m.NewPassword, new { @class = "col-md-4 control-label" })
            <div class="col-md-8">
                @Html.PasswordFor(m => m.NewPassword, new { @class = "form-control" })
            </div>
        </div>
        <div class="form-group">
            @Html.LabelFor(m => m.ConfirmPassword, new { @class = "col-md-4 control-label" })
            <div class="col-md-8">
                @Html.PasswordFor(m => m.ConfirmPassword, new { @class = "form-control" })
            </div>
        </div>
        <div class="form-group">
            <div class="col-md-offset-4 col-md-8">
                <input type="submit" value="更改密码" class="button" />
            </div>
        </div>
    </div>
    @*左边固定广告栏*@
    <div class="Advertisement ">
        <nav class="col-sm-3 col-4" id="myScrollspy">
            <ul class="nav nav-pills flex-column" style="background-color:#99ffff">
                <li class="nav-item">
                    <a class="nav-link active" data-toggle="tooltip" data-placement="right" title="开发者联盟" href="#section1" style="color:black;">关于我们</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" data-toggle="tooltip" data-placement="right" title="QQ946232976" href="#section2" style="color:black;">联系方式</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="#section3" style="color:black;">广告投资</a>
                </li>

            </ul>
        </nav>
    </div>
    
}
@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
